package edu.polsl.bio.str.manager.logic;

import edu.polsl.bio.str.common.messaging.StrJobPayload;

/**
 * //todo class description
 * <p/>
 * Created on: Jul 13, 2011 5:52:57 PM <br/>
 * <a href="http://www.polsl.pl">www.polsl.pl</a>
 *
 * @author lukasz.olczak@polsl.pl
 */
public interface JobDispatcherBean {

  void dispatchWaitingJobs() throws Exception;

  void persistJobEnd(Long jobId, Long nodeId) throws Exception;

  void dispatchJob(String nodeIp, StrJobPayload payload) throws Exception;
}
